package com.striker.nettyconn;

import java.io.Serializable;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import org.msgpack.annotation.Message;
/**
 * 消息类型分离器
 * @author Administrator
 *
 */
@Data
@Message
@Document(collection = "Model")
public class Model implements Serializable{

    private static final long serialVersionUID = 1L;

    //类型
    private int type;

    private Long fromUin;

    private Long toUin;

    //内容
    private String body;
}
